package com.example.employee.restfulapi.mapper;

import com.example.employee.restfulapi.entity.Company;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhouxinyu
 * @since 2021-08-04
 */
@Mapper
@Component
public interface CompanyMapper extends BaseMapper<Company> {
    public List<Employee> getAllEmployeesByCompanyId(int id);

    public List<Company> selectCompanyList(Map<String, Object> map);


}
